package com.lu.statistics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lu.statistics.entity.MtDishCategories;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MtDishCategoriesMapper extends BaseMapper<MtDishCategories> {
    /**
     * 查询菜品分类列表
     *
     * @param isAvailable
     * @return
     */
    IPage<MtDishCategories> queryDishCategoriesByIsAvailable(IPage<MtDishCategories> page, @Param("isAvailable") String isAvailable);
}
